package com.campus.service;

import com.campus.pojos.domain.vo.ArticleNumByCategoryVo;
import com.campus.pojos.domain.vo.ArticleNumVo;
import com.campus.pojos.domain.vo.ArticleVo;
import com.campus.pojos.domain.vo.UserNumVo;

import java.time.LocalDate;
import java.util.List;

public interface StatisticService {
    /**
     * 每日帖子数量统计
     * @param beginTime
     * @param endTime
     * @return
     */
    ArticleNumVo getArticleNum(LocalDate beginTime, LocalDate endTime);

    List<ArticleVo> top5(LocalDate beginTime, LocalDate endTime);

    UserNumVo getUserNum(LocalDate beginTime, LocalDate endTime);

    ArticleNumByCategoryVo getArtNumByCategory(LocalDate beginTime, LocalDate endTime);
}
